package com.example.tsproject.service;

import com.example.tsproject.entity.PageBean;
import com.example.tsproject.entity.Posts;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.tsproject.entity.PostsWithTeacher;
import com.example.tsproject.entity.Videos;

import java.util.List;

/**
* @author DELL
* @description 针对表【posts】的数据库操作Service
* @createDate 2024-09-24 21:09:03
*/
public interface PostsService extends IService<Posts> {

    PageBean list(Integer pageNum, Integer pageSize);

    List<Posts> onlineSql(String sql2);

    List<PostsWithTeacher> getPostsWithTeachers();
}
